package com.xiaomei.manager.service;

import java.util.List;

import com.xiaomei.manager.model.ActivtiyRelease;
import com.xiaomei.manager.model.Experience;
import com.xiaomei.manager.web.dto.req.ActivtiyQueryDto;
import com.xiaomei.manager.web.page.Page;

public interface IActivtiyReleaseService {
	public Integer selectMaxID();
	 /**
     * 
     * 根据请求参数map查询活动发布信息
	 * @param paramMap 请求参数map
	 * @return 活动发布数据集
     */
    List<ActivtiyRelease> getActivtiyForList(ActivtiyQueryDto dto, Page<ActivtiyRelease> page);
    
    /**
	 * 创建新的活动
	 * @param experience
	 * @return
	 */
	public boolean createActivtiyRelease(ActivtiyRelease activtiy);
	/**
	 * 活动更新
	 * @param activtiy
	 * @return
	 */
	boolean updateActivtiyRelease(ActivtiyRelease activtiy);
	
	/**
	 * 根据id查看活动的发布
	 * @param id
	 * @return
	 */
	public ActivtiyRelease findOne(Integer id);
	
	public ActivtiyRelease selectActivtiyReleaseById(Integer id);
	
	/**
	 * 删除某个活动
	 * @param id
	 * @return
	 */
	public boolean deleteActivtiyRelease(Integer id);
}
